package com.zxy.ziems.server.energy.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 小时测量数据
 * @author zph
 * @create 2025-04-02 14:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeviceMeasureDataDayVO implements Serializable {

    /**
     * 主键
     */
    private String id;
    /**
     * 设备ID
     */
    private String deviceId;

    /**
     * 设备编码
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String deviceCode;

    /**
     * 设备名称
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String deviceName;
    /**
     * 测量数据类型ID
     */
    private String dataTypeId;
    /**
     * 测量值
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private BigDecimal measureValue;
    /**
     * 增量费用
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private BigDecimal incrementCost;
    /**
     * 平均值
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private BigDecimal avgValue;
    /**
     * 增量值
     */
    @JsonInclude(JsonInclude.Include.ALWAYS)
    private BigDecimal incrementValue;
    /**
     * 测量时间
     */
    private LocalDate measureTime;
    /**
     * 单位
     */
    private String unitId;

    private LocalDateTime updateTime;

}
